package com.tambapps.p2p.fandem.util

import com.tambapps.p2p.speer.Peer

/**
 * A listener of sharing events
 */
interface TransferListener {
    fun onConnected(selfPeer: Peer, remotePeer: Peer)
    fun onTransferStarted(fileName: String, fileSize: Long)
    fun onProgressUpdate(fileName: String, progress: Int, bytesProcessed: Long, totalBytes: Long)
}